import LoginUserTemplate from "@/components/Login/LoginUserTemplate";
import LoginTemplate from "@/components/Login/LoginTemplate";
import RegisterUserTemplate from "@/components/Login/RegisterUserTemplate";


let loginRouter={
    path:'/login',
    components:{
        main:LoginTemplate
    },
    children:[
        {
            path:'',
            meta:{
                isLogin:false,
                title:'登录账号'
            },
            components: {
                loginView:LoginUserTemplate
            }
        },
        {
            path: '/register',
            meta:{
                isLogin:false,
                title:'注册账号'
            },
            components: {
                loginView: RegisterUserTemplate
            }
        }
    ]
}
export default loginRouter;